import http from '@/utils/request'

function loginReq(adminname: string, password: string) {
  return http({
    method: 'post',
    url: '/admin/admin/login',
    data: { adminname, password },
  })
}

export { loginReq }
